package com.example.emos.wx.user.db.dao;

import com.example.emos.wx.checkin.model.pojo.TbDept;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

@Mapper
public interface TbDeptDao {

    ArrayList<HashMap> searchDeptMembers(String keyword);
    List<TbDept> searchAllDept();

    int insertDept(String deptName);

    int deleteDeptById(int id);

    int updateDeptById(TbDept dept);

    long searchUserCountInDept(int deptId);

}